From 2645f93a9a493789d7086e20a73286f6ad88ceb6 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 19 Aug 2009 14:21:56 +0100 Subject: [PATCH] [IA64] define BYTES_PER_LONG to fix compilation error. Signed-off-by: Isaku Yamahata --- xen/include/asm-ia64/xentypes.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/include/asm-ia64/xentypes.h b/xen/include/asm-ia64/xentypes.h index a482e0191e..f898f4004c 100644 --- a/xen/include/asm-ia64/xentypes.h +++ b/xen/include/asm-ia64/xentypes.h @@ -10,6 +10,8 @@ typedef char bool_t; #define test_and_set_bool(b) xchg(&(b), 1) #define test_and_clear_bool(b) xchg(&(b), 0) +#define BYTES_PER_LONG 8 + #endif /* !__ASSEMBLY__ */ #endif /* _ASM_IA64_XENTYPES_H */ -- 2.30.2